clear and fill now works directly on buffer

clear and fill commands was using the key identifier but this is not
needed since they works exclusively on buffer that is common for all
objects