Fixes some Warnings about static attributes