Avoid PHP notices.