         )
       end
 
-      def params_defaults_fallback do
-        # deprecated - remove module attribute
-        unquote(opts[:default_params])
-      end
-
       def run_on_all? do
         unquote(run_on_all_body(opts[:run_on_all]))
+      end
+
+      defp __default_params__ do
+        unquote(opts[:default_params])
+      end
+
+      defp __explanation__ do
+        unquote(opts[:explanation])
       end
     end
   end

        nil
    end)

    # deprecated
    deprecated_default_params_module_attribute =
      if opts[:default_params] do
        quote do
          @default_params unquote(opts[:default_params])
        end
      end

    # deprecated
    deprecated_explanation_module_attribute =
      if opts[:explanation] do
        quote do
          @explanation unquote(opts[:explanation])
        end
      end

    IO.puts("1")

    quote do
      @behaviour Credo.Check
      @before_compile Credo.Check

      # deprecated
      unquote(deprecated_default_params_module_attribute)
      unquote(deprecated_explanation_module_attribute)

      alias Credo.Check
      alias Credo.Check.Params

        unquote(opts[:elixir_version] || ">= 0.0.1")
      end

      def format_issue(issue_meta, issue_options) do
        Check.format_issue(
          issue_meta,
