Same here as above. Could we avoid using ```getattr``` ?