Fix unused warning by moving static from .h to .m