Begin work on rails 4 compat.