Adding some private methods.