Updated code style and dependencies.