Fixing an implicit declaration issue