[TASK] Add a comment about a protected method

addStyleElementToDocument is protected instead of private on purpose
in order to allow overrinding in subclasses.

This change adds a comment to provide this information so that it will
stay protected even during code clean-ups.

Closes #122