Removed useless stubgen function