Event logging and some lint.