#JC-1188 Some security checks enabled by changing private visibility to
package-private for some methods in service.
#JC-1188 Revert previous commit, because it doesn't help.
#JC-1188 Refactoring. Security checks were enabled. JavaDoc.