Fix up compiler warnings for static access from instance var, and generics -- use Command<?> rather than just plain Command