Removed read types function