Support for private methods added.