model: add prototypes to header