Removed silly warnings and updated documentation