Added function typedefs