Fix #hash and #inspect methods to have the expected arity