Changed the return type of type-specific Allocate() methods to return