Updated kwargs list and defined default values.