Implement required init function