spell fixes, and should only set table name if class is not an abstract class