serial does not name a type

You're a bit short on details, but try Serial instead.