Updated documentation, removed duplicate error codes