Added new getAs* methods.
Fixed options.