Removed static case and changed to alloc init.