Added createComponentMethod from server part here