add type class Nameable and fix for readable