Extracted out CSS. Added support for 'methods'