improve styleable API and documentation