removing agent protopype inheritance