Change dependency on gemspec
Move method to private