remove public type specifier