Rename 'alloc' to 'allocate' like in Ruby