Added full init() for transform.