Fixed syntax error in collection methods.