Imports porting in for rails 4