Refactored getSubset() and getPrefix() methods to fix #1
Fixed some JavaDoc.
Version 1.1.0 with refactored getSubset() and getPrefix()