Workaround for MOC compiler problem