Fix for classname method when defining swift relationships

Closes #1225

Cleans up initialization for accessors and static method overrides.

@tgoyne 
Tell that to XCode autocomplete...

:)