Remove unnecessary type annotation