Function plugin generating. ToDo: generate function view form