Fixed running without AE2

Prevent calls to the AE api + a missing @Optional annotation.

Fixes #1