Add better precondition checks around element creation
Correct javadoc in AbstractView