Took advantage of the type system.