End declaration and function param type parents at end of types