Renamed method as it is more general and can produce any software entity. Refactoring.