Fixed 'Expected a type' compiler error