Loosen dependency on Rails