Fixed problem with strict standards (non-static warnings)