Consolidated the 4 functions into a single `extract` method
Added support to extract 'border-radius' shorthand
Added tests for index-based extract