Add decorators&register

Add decorators&register