Issue #2317019 by joachim: Changed form-based operations to use entity functions rather than Entity API methods to allow use with core entities.