Removes Ender specific document size detection

This pull request tries to resolve #4