Fix syntax errors in standard library

1. In valid slist (missing ",")
2. expireafter not allowed in package_method