Added afterPropertiesSet to superClass