Fix code completion for element method #44