fix inclusion of ClassMethods when using Rugged