Fix hash formatting for methods