Added tern mappings