Removing asAbstractObject because it is not used anymore.

Signed-off-by: Stefan Marr <git@stefan-marr.de>