Replace alloc init calls in favour of helper methods with more obvious names.