***** Does not name a type

Please see my edit to my first reply.