 
   @doc false
   def s(module, function, arity) do
-    spec = List.keyfind(Kernel.Typespec.beam_specs(module), { function, arity }, 0)
+    spec = List.keyfind(beam_specs(module), { function, arity }, 0)
 
     if spec do
       print_spec(spec)


  @doc false
  def s(module, function) when is_atom(function) do
    specs = lc {{f, _arity}, _spec} = spec inlist Kernel.Typespec.beam_specs(module),
               f == function do
      print_spec(spec)
      spec

  end

  def s(module, []) do
    specs = lc spec inlist beam_specs(module), do: print_spec(spec)

    if specs == [] do
      IO.puts "No specs for #{inspect module} have been found"
