Fix strict errors and docblock.