Remove unnecessary def