Trying to workaround compiler's bug