adds calls on classes