Remove register decorator as it is no longer valid