Removing calls to private methods and properties.