Register class defined