remove unnecessary declarations from default