Update style and remove useless dependencies.