Added new prototypes for utility and layer functions