Simplify work with status

We don't need this java-enterprise stuff for our needs.