Remove trailing whitespace
Remove allocated method

There is already an allocated? method that does exactly the same.
Add allocate! which is a more rubyesque version of allocate

We still need both methods until all usages have been converted