`hash` method with variable length was protected.
`API` class stub was added.