Added default values. Fixed docs.