Add return type to def.