Brought up to npm standards.