Add package definitions for function classes