Added compiler for type-safety.