correctly emit internal-methods on deftypes too