Changed the internals of funcproto_type to better support named args