What is the purpose of interfaces?