Created a protocol to setup and cleanup when a style is setted