changes from actually_is_a? to case_compare, fixes for alias names