Begin changes for Rails class.