Added ability to add stylesheet via constructor parameter.