Access class back to active record