allowing inline struct variables declarations
adding API declaration as a final declaration
fixing typo in argument list definition