Tiny refactorings

While scanning the code I found some possible improvements.

WDYT?
`prepend` it's a private method on Ruby 2.0.0: https://travis-ci.org/lotus/controller/jobs/31219731