quick fix for 'type of declaration is not visible everywhere declaration is visible' #612