Use magic method and fill out the restful methods