Works with 2.0 and interfaces
Added available param to defaults
Updated documentation