made models attribute accessible