Fix strict standards warnings