expand API coverage, create helper method to work with specifications