Changed const variables to static.