Implemented generation of PBJ function declaration